<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" href="style.css" type="text/css" />
<title>Using eclant</title>
</head>
<body>
<p>
The <em>eclant</em> plugin provides a handful of useful elements that may be used to work
with workspace resources in Ant scripts. Specifically, it provides FileSets
or other <a href="http://ant.apache.org/manual/CoreTypes/resources.html#collection">Resource Collections</a>
containing classpath resources for use with standard Ant tasks. To use these when 
<a href="PLUGINS_ROOT/org.eclipse.platform.doc.user/gettingStarted/qs-84_run_ant.htm">running Ant</a>,
you must configure the launch configuration to run the Ant buildfile in the same JRE as the workspace.
</p>
<ol>
  <li>Select the Ant buildfile you wish to execute and choose <b>Run As 
    &gt; Ant Build... </b> from its context menu.</li>
  <li>A launch configuration dialog is opened on a launch configuration for this Ant buildfile.
    <p><img src="images/launch_configuration.png"  alt="Run Ant dialog" border="0"></p>
  </li>
  <li>Click on the "JRE" tab and select "Run in the same JRE as the workspace".</li>
  <li>Click <b>Run</b>.</li>
  <li>The Ant buildfile is run, and the output is sent to the Console view.</li>
</ol>

</body>
</html>